@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>考生信息管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                <#selectCon id="seniorSchoolId" name="所属学校"
                                select2Flag="true" urlForSelect2="${ctxPath}/seniorschool/listSchoolForSelect2" async="true">
                                @if(isNotEmpty(schoolu)){
                                @for(es in schoolu){
                                <option value="${es.id}" selected="selected">${es.text}</option>
                                @}
                                @}
                                </#selectCon>
                            </div>
                            <div class="col-sm-2">
                                <#selectCon id="seniorClassId" name="所属班级" underline="true" paramFun="SeniorExaminee.getSchoolId('seniorSchoolId')"
                                    select2Flag="true" urlForSelect2="${ctxPath}/seniorSchoolClass/listSchoolClassForSelect2">
                                    @if(isNotEmpty(classu)){
                                    @for(es in classu){
                                    <option value="${es.id}" selected="selected">${es.text}</option>
                                    @}
                                    @}
                                </#selectCon>
                            </div>
                            <div class="col-sm-3">
                                <#inputCon id="examCardNumber" name="准考证号" />
                            </div>
                            <div class="col-sm-2"> <#inputCon id="studentName" name="考生姓名" /></div>
                        <div class="col-sm-2">
                                <#button name="搜索" icon="fa-search" clickFun="SeniorExaminee.search()"/>
                                <#button name="重置" icon="fa-trash" clickFun="SeniorExaminee.resetSearch()" space="true"/>
                        </div>
                        </div>
                        <div class="hidden-xs" id="SeniorExamineeTableToolbar" role="group">
                            @if(shiro.hasPermission("/seniorExaminee/edit")){
                                <#button name="添加" icon="fa-plus" clickFun="SeniorExaminee.openAddExaminee()"/>
                            @}
                            @if(shiro.hasPermission("/seniorExaminee/edit")){
                                <#button name="修改" icon="fa-edit" clickFun="SeniorExaminee.openChangeExaminee()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/seniorExaminee/remove")){
                                <#button name="删除" icon="fa-remove" clickFun="SeniorExaminee.delSchool()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/seniorExaminee/templateDown")){
                                <#button name="考生模板下载" icon="fa fa-download" clickFun="SeniorExaminee.templateDown()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/seniorExaminee/import")){
                                <div id="importExamineeBtnId" class="button-margin" style="display: inline-block;line-height: 21.080px;vertical-align: middle;">
                                    <i class="fa fa-upload"></i>考生导入
                                </div>
                            @}
                        </div>
                        <#table id="SeniorExamineeTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/examinee/examinee/examinee.js"></script>
@}
